﻿using Com.Lancetinc.Evs.Models;
using System;
using System.Collections.Generic;

namespace Com.Lancetinc.Evs.Communications
{
    public class InstrumentInfoChangedEventArgs : EventArgs
    {
        public readonly IInstrumentState Instrument;
        public readonly ISet<string> ChangedPropertyNames;

        public InstrumentInfoChangedEventArgs(IInstrumentState instrument, ISet<string> changedPropertyNames)
        {
            this.Instrument = instrument;
            this.ChangedPropertyNames = changedPropertyNames;
        }
    }
}
